<%@ taglib prefix="s" uri="/struts-tags"%>

<!-- slider holder -->
<div id="slider-holder" class="clearfix">
	<!-- slider -->
	<div class="flexslider home-slider">
		<ul class="slides">
			<s:iterator var="banner" value="listBanner">
				<li><img
					src="<s:property value="#application.rootPath"/>/protected/banner/<s:property value="fileName" />"
					alt="alt text" />
					<p class="flex-caption">
						<s:property value="description" />
					</p></li>
			</s:iterator>
		</ul>
	</div>
	<!-- ENDS slider -->

	<div class="home-slider-clearfix "></div>



	<div id="headline">

		<s:iterator var="news" value="listNews" status="stat">
			<s:if test="#stat.count == 1">
				<h1>
					<s:property value="title" />
				</h1>
				<p class="headlinedate">
					<s:date name="createdDate" format="dd MMMM yyyy" />
				</p>
				<p style="margin-top: -15px;">
					<a
						href="<s:property value="#application.rootPath"/>/page/news/<s:property value="id" />">more..</a><br />
				</p>
				<p class="linenews">
					<a href="news.html">NEWS</a>
				</p>

			</s:if>
			<s:else>
				<ul>
					<li><a
						href="<s:property value="#application.rootPath"/>/page/news/<s:property value="id" />"><s:property
								value="title" /></a>
				</ul>
			</s:else>

			<!--<em id="corner"></em>-->
		</s:iterator>
	</div>

	<!-- ENDS headline -->






	<div class="home-slider-clearfix "></div>


</div>
<!-- ENDS slider holder -->
